package com.supcon.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author BeautifulHao
 * @description 部门
 * @create 2019-04-28 09:56
 **/
@Controller
public class DeptPageController {

    @RequestMapping("/dept")
    public String deptPage(ModelMap map){
        map.addAttribute("name", "hello world");
        return "dept";
    }
}
